class SavChecker{
	boolean checkAgainst, ignorep;
	
	SavChecker(boolean checkAgainst){
		this.checkAgainst = checkAgainst;
	}
	
	SavChecker(){
		this.ignorep = true;
	}
	
	boolean check(boolean isSavings){
		if(ignorep == true)
			return ignorep;
		else return (isSavings == checkAgainst);
	}
}